﻿using System;
namespace UnlessComment.Model
{
    /// <summary>
    /// Friend:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Friend
    {
        public Friend()
        { }
        #region Model
        private int _id;
        private int? _host_id;
        private int? _friend_id;
        private DateTime? _date;
        private bool _by_school;
        private bool _by_company;
        private bool _by_address;
        private bool _by_hobby;
        private int? _state;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? host_id
        {
            set { _host_id = value; }
            get { return _host_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? friend_id
        {
            set { _friend_id = value; }
            get { return _friend_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? date
        {
            set { _date = value; }
            get { return _date; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool by_school
        {
            set { _by_school = value; }
            get { return _by_school; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool by_company
        {
            set { _by_company = value; }
            get { return _by_company; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool by_address
        {
            set { _by_address = value; }
            get { return _by_address; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool by_hobby
        {
            set { _by_hobby = value; }
            get { return _by_hobby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? state
        {
            set { _state = value; }
            get { return _state; }
        }
        #endregion Model

    }
}

